﻿/*
 * Theme Name: Channel Penny Chan
 * Theme Author: Minjie Zhang (Apollo)
 * Theme URI: http://ruyirabbit.blogbus.com/
 * Author Email: ze.apollo[at]gmail.com
 * Author Blog: http://imapollo.blogbus.com
 * Version: 1.1
 * Description: Channel Penny Chan
 * Last Modified: Jun 27, 2010
 * Encoding: UTF-8
 *
 * $Revision 0.1, Created:  Apollo, Date: Mar 06, 2010
 * $Revision 0.2, Modified: Apollo, Date: Mar 07, 2010
 * $Revision 0.3, Modified: Apollo, Date: Mar 13, 2010
 * $Revision 1.0, Modified: Apollo, Date: Mar 15, 2010
 * $Revision 1.1, Modified: Apollo, Date: Jun 27, 2010
 *
 * Based on Punkid's BlogBus Sandbox
 * (http://blog.punkid.cn/)
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 120%;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}



/* Global Setting
 * ------------------------------------------------------------------*/

body {
  font: 12px Verdana,'Helvetica Neue',Helvetica,Sans-Serif;
  background: #FFF;
  color: #444;
  text-align: left;
}

p {
  margin: 0 0 15px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: bold;
}

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

a {
  color: #D3515F;
  text-decoration: none;
}

a:hover {
  color: #B2323F;
  background: #FFEAEF;
  border-bottom: 1px solid #FFC8D4;
  text-decoration: none;
}

acronym, abbr {
  border-bottom: 1px dotted;
  cursor: help;
  letter-spacing: 1px;
}

input, textarea, select {
  font: 12px Verdana,'Lucida Grande',Helvetica,Sans-Serif;
  background: #FFF;
}

  input:focus, textarea:focus, input:hover, textarea:hover { }

code, var, pre {
  font: 15px 'Bitstream Vera Sans Mono',Monospace,Monaco,Consolas,Courier;
  color: #555;
}

pre {
  overflow: auto;
}

blockquote {
  margin: 32px 0 32px 32px;
}

.center {
  text-align: center;
}

.floatleft {
  float: left;
  margin: 0 15px 10px 0;
}

.floatright {
  float: right;
  margin: 0 0 10px 15px;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

  /* target IE6 and IE7 */
  * html .clearfix {
    height: 1%;
  }

  *+html .clearfix {
    height: 1%;
  }

.clear {
  clear: both;
}



/* Layout and Structure
 * ------------------------------------------------------------------*/

#wrapper {
  width: 960px;
  margin: 0;
  font-size: 12px;
}

#header {
  margin-top: 40px;
  height: 63px;
}

  h1#blogname {
    margin-right: 10px;
  }

  h1#blogname a {
    margin: 0;
    padding: 0;
    width: 220px;
    height: 63px;
    text-indent: -2010px;
    line-height: 63px;
    border-top: solid 1px #CCC;
    border-bottom: solid 1px #CCC;
    overflow: hidden;
    display: block;
    background: url(http://filer.blogbus.com/1390495/resource_13904951268477968x.jpg) no-repeat top left;
  }

  h1#blogname a:hover {
    background: url(http://filer.blogbus.com/1390495/resource_13904951268477968x.jpg) no-repeat bottom left;
  }

  div#description { }

  div.naviitem {
    width: 175px;
    display: block;
    padding-top:40px;
    height: 23px;
    margin-right: 10px;
    border-top: solid 1px #CCC;
    border-bottom: solid 1px #CCC;
  }

  div.naviitem:hover {
    height: 20px;
    border-bottom: solid 4px #CCC;
  }

  div.naviitem a:hover {
    background: none;
    border-bottom: none;
  }

#content {
  margin: 0;
  padding-top: 10px;
}

  #posts {
    float: left;
    width: 770px;
  }

  #secondary {
    float: right;
    width: 175px;
  }

#footer {
  padding: 20px;
  clear: both;
}

  div#copyright {
    text-align: center;
  }



/* Styles
 * ------------------------------------------------------------------*/

#pagenavi {
  text-align: center;
}

  #pagenavi span { }

#navigation {
  text-align: left;
  margin: 0 0 15px 230px;
}

  span.pre { }

  span.home { }

  span.next { }

div.posts {
  margin: 0;
}

div.entrymeta {
  float: left;
  text-align: right;
  width: 220px;
  color: #666;
}

div.entrymeta div {
  padding-bottom: 4px;
}

div.entrymeta a {
  color: #666;
}

div.entrymeta a:hover {
  color: #B2323F;
  background: #FFEAEF;
  border-bottom: 1px solid #FFC8D4;
  text-decoration: none;
}

  div.entrymeta div.metahead {
    font-size: 13px;
    color: #D3515F;
  }

  div.entrymeta div.metadate { }

  div.entrymeta div.metacomment {
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    width: 85px;
    float: right;
  }

  div.entrymeta div.metacomment .readmore {
    margin-top: -36px;
  }

  div.entrymeta div.metacomment a {
    display: block;
  }

div.entrycontent {
  float: right;
  width: 540px;
  line-height: 160%;
}

div.entryfooter {
  clear: both;
  border-bottom: solid 1px #CCC;
  margin-bottom: 10px;
  padding-left: 230px;
  padding-bottom: 10px;
}

  div.entryhead {
    margin-left: 230px;
    margin-bottom: 10px;
  }

    h2.entrytitle {
      font-size: 14px;
      font-weight: normal;
    }

    div.entrybody {
        position: relative;
        vertical-align: baseline;
    }

    div.entrybody ul, div.entrybody ol {
      margin: 32px 0 32px 32px;
    }

    div.entrybody ul li {
      list-style: outside square;
    }

    div.entrybody ol li {
      list-style: outside decimal;
    }

    div.entrybody a:hover {
      border-bottom: none;
    }

    div.entrybody table {
      display: none;
    }

    p.cc-lisence { }

    div.relpost { }

    div.relpost h3 {
      font-size: 13px;
      font-weight: normal;
    }

    div.addfav { }



/* Commentfield
 * ------------------------------------------------------------------*/

  #comments {
    padding-left: 230px; 
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
  }

  #comments h2 {
    font-size: 14px;
    color: #D3515F;
    font-weight: normal;
  }

  #comments li {
    padding: 15px 2px 15px 2px;
  }

  #comments li.even {
    background: #FAFAFA;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
  }

    #comments li div.cmtBody { }

    #comments li div.menubar { }

      #comments li span.author { }

      #comments li span.time { }

      #comments li span.reply { }

      #comments li div.reCmtBody {
        margin-top: 5px;
        border-top: 1px dotted #CCC;
        padding: 5px 0 5px 15px;
        color: #555;
      }

      #comments li div.reCmtBody span.author { }

      #comments li div.reCmtBody div.content { }

      #comments li div.reCmtBody div.time { }

      #comments li div.cmtPagenav { }

  #commentForm {
    margin-top: 20px;
    padding: 0 0 10px 230px;
    border-bottom: 1px solid #999;
  }

  #commentForm h2 {
    font-size: 14px;
    color: #D3515F;
    font-weight: normal;
    margin-bottom: 15px;
  }

  #commentForm form {
    width: 80%;
  }

  #commentForm form div {
    margin: 0 0 5px;
  }

  #commentForm form div input.textField {
    width: 240px;
    border: 1px solid #DDD;
    background: #FAFAFA;
  }

  #commentForm form div label {
    display: block;
    color: #555;
  }

  #commentForm form div textarea {
    width: 540px;
    border: 1px solid #DDD;
    background: #FAFAFA;
  }

  #commentForm form div input.button {
    border: 1px solid #DDD;
    background: #FAFAFA;
  }

  #commentForm form div span.emailnotice { }

  #commentForm form div.submit input.button {
    padding: 3px 8px;
  }

  #commentForm form div.submit span.rememberBox input#cremember { }



/* Modules
 * ------------------------------------------------------------------*/

div.module {
  margin-bottom: 10px;
  color: #666;
  line-height: 160%;
}

div.module a {
  color: #666;
}

div.module a:hover {
  color: #B2323F;
  background: #FFEAEF;
  border-bottom: 1px solid #FFC8D4;
  text-decoration: none;
}

  div.modTop { }

    div.module h2 {
      font-weight: normal;
      font-size: 13px;
      color: #D3515F;
      margin-bottom: 5px;
    }

  div.modBody { }

  div.modBody h3 {
    font-weight: normal;
    font-size: 13px;
  }

  div.modBody li {
    height: 21px;
    overflow: hidden;
  }

  div.modBottom { }

  #profile a:hover {
    border-bottom: none;
  }

  #calendar { }

  #calendar table {
    text-align: center;
  }

  #calendar table tr { }

  #calendar table tr td {
    padding: 2px 3px;
  }

  #calendar table tr.calendarHead { }

  tr.calendarHead span.preMonth { }

  tr.calendarHead span.nextMonth { }

  #calendar table tr.week { }

  #calendar table tr.day { }

  #calendar table td.today {
    font-weight: bold;
  }

#search { }

#search input.textField {
  width: 120px;
  border: 1px solid #DDD;
  background: #FAFAFA;
}

#search input.button {
  border: 1px solid #DDD;
  background: #FAFAFA;
}

#cats { }

#tags { }

#nPosts { }

#nComments { }

#nComments li {
  height: 21px;
  overflow: hidden;
}

#links { }

#archives { }

#login { }

/* Hacks
 * read more (http://thomas.tanreisoftware.com/?p=11)
 * ------------------------------------------------------------------*/

/* target IE6 */
* html /*selector*/ { }

/* target IE7 */
*+html /*selector*/ { }

/* target Mozilla Firefox (Gecko) */
html:not([lang*=""]) /*selector*/ { }

/* target Opera */
@media all and (min-width:0px) {
  head~body:lang(en) /*selector*/ { }
}

/* target Safari 3 (webkit) */
@media all and (min-width:0px) {
  body:not(:root:root) /*selector*/ { }
}

/* target Konqueror */
html:not(:nth-child(1)) /*selector*/ { }
